<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>借阅管理</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

	</head>

	<body bgcolor="#cbeeeb">
		<%@include file="header.jsp"%>
		<% if (request.getSession().getAttribute("user")==null){
	response.sendRedirect(request.getContextPath()+"/login.jsp");
};
 %>
		<hr>
		<h1>
			借阅查询
		</h1>

		<form action="borrow!query" method="post">
			<input type="text" name="borrow.snumber" value="请输入学号"
				onclick="if(value==defaultValue){value='';this.style.color='#000'}"
				onBlur="if(!value){value=defaultValue;this.style.color='#999'}"
				style="color: #999">
			<input type="submit" value="查询">
		</form>
		增加借阅记录
		<form action="borrow!add" method="post">
			ISBN:<input type="text" name="borrow.isbn">
			学号：<input type="text"　name="borrow.snumber">
			<input type="submit" value="确定">
			<input type="reset" value="重置"> 
		</form>
	</body>
</html>
